﻿using System.Modules.SharePoint.Constants;
namespace System.Modules.SharePoint.Contracts.DTO
{
    /// <summary>
    /// SPSiteDataQueryList
    /// </summary>
    public class SPSiteDataQueryList : SPSiteDataQueryListsSubElement
    {
        #region Properties
        /// <summary>
        /// ID
        /// </summary>
        public Guid ID { get; set; }
        #endregion

        #region Methods
        /// <summary>
        /// Overrides To String method
        /// </summary>
        /// <returns></returns>
        public override string ToString()
        {
            return string.Format(SPQueryTemplates.SP_SITE_DATA_QUERY_LIST, ID);
        } 
        #endregion
    }
}
